package com.cicc.beergamevirtualsimulationsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cicc.beergamevirtualsimulationsystem.entity.RoleBindingEntity;
import com.cicc.beergamevirtualsimulationsystem.model.roleBinding.dto.RecordDto;
import com.cicc.beergamevirtualsimulationsystem.model.room.dto.QueryRoomRecordDto;

import java.util.List;

public interface RoleBindingService extends IService<RoleBindingEntity> {
    /**
     * 查询当前玩家参与了哪些已经结束的游戏
     *
     * @param userId
     * @return
     */
    List<QueryRoomRecordDto> queryRoomRecord(String userId);
}
